package cn.shengongying.bean;

import cn.shengongying.enums.ResponseCodeEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author : RXK
 * Date : 2020/11/30 17:19
 * Code Less Think More
 * Desc:
 */
@Data
public class DataTablePageResult<T> implements Serializable {
    private static final long serialVersionUID = -3766685019617678517L;
    private int draw;
    private int start;
    private int length;
    private List<T> data = new ArrayList();
    private long recordsTotal;
    private long recordsFiltered;
    private String error;
    private Integer code = ResponseCodeEnum.success.getCode();



}
